cmake_minimum_required(VERSION 2.6)
project(Golf_Box)

set( CMAKE_BUILD_TYPE "Release" )
#c++11标准
set( CMAKE_CXX_FLAGS "-std=c++11 -O3" )
set(THREADS_PREFER_PTHREAD_FLAG ON)

#set( EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin )#
set( EXECUTABLE_OUTPUT_PATH .)

find_package( OpenCV REQUIRED )
find_package(Threads REQUIRED)

include_directories( ${OpenCV_INCLUDE_DIRS} ${PROJECT_SOURCE_DIR}/include )

add_subdirectory( src )
